You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TDenseMtxVec Class > TDenseMtxVec Methods > Divide Method > TDenseMtxVec.Divide Method ([In] TMtxVec, [In] TMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TDenseMtxVec.Divide Method ([In] TMtxVec, [In] TMtxVec, int, int, int, int)

Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den.

Syntax
C#
Visual Basic
public TMtxVec Divide([In] TMtxVec Num, [In] TMtxVec Den, int NumIndex, int DenIndex, int Index, int Len);

and store result in the calling vector at positions [Index]..[Index+Len-1] TMtxVec.Size and TMtxVec.Complex property of the calling object are not changed. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun or underrun. 

The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!